Skip to content

feat: add --weekday-after-tomorrow flag - #118

Merged
bjesus merged 1 commit into
bjesus:mainfrom
manio:main
Oct 4, 2026
Merged

bjesus merged 1 commit into
bjesus:mainfrom
manio:main

Conversation

@manio

@manio manio commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Adds an opt-in --weekday-after-tomorrow flag.

Currently the tooltip shows Today, <date>, Tomorrow, <date>, and then
just <date> for the following days. With this flag, the following days
get a weekday prefix as well:

Today, 2026-10-03
Tomorrow, 2026-10-04
Monday, 2026-10-05
  • The weekday name is localized via --lang (e.g. poniedziałek for pl)
  • --date-format keeps working as before
  • No change in behavior unless the flag is passed

@bjesus

bjesus commented Oct 4, 2026

Copy link
Copy Markdown
Owner

I think this doesn't need to be behind a flag, it's quite clearly an improvement. Let's add it without the flag.

@manio

manio commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

thanks, ok let me rebase it :)

@manio

manio commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

Ok, updated :)

@manio

manio commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

ah... one more fix missing

Prefix the date with the weekday name for the third forecast day and
later, e.g. "Monday, 2026-10-05", consistent with the existing
"Today, " and "Tomorrow, " prefixes.

The weekday is localized according to --lang. The date itself is still
formatted with --date-format.
@manio

manio commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

Fixed... now it's ok

@bjesus
bjesus merged commit 6accc06 into bjesus:main Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants